package com.party.api.dto.wechat.response;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class MaterialResponse {

  @JSONField(name = "media_id")
  private String mediaId;

  private String name;

  @JSONField(name = "update_time")
  private Date updateTime;

  private String url;

  //图文消息包裹
  private NewsItemResponse content;

  public String getMediaId() {
    return mediaId;
  }

  public void setMediaId(String mediaId) {
    this.mediaId = mediaId;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  public NewsItemResponse getContent() {
    return content;
  }

  public void setContent(NewsItemResponse content) {
    this.content = content;
  }
}
